package com.ruoyi.item.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品管理对象 item_goods
 * 
 * @author ruoyi
 * @date 2022-03-10
 */
public class ItemGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long goodsId;

    /** 店铺 */
    @Excel(name = "店铺")
    private Long shopId;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String itemType;

    /** 主图 */
    @Excel(name = "主图")
    private String picture;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 竞争对手id */
    @Excel(name = "竞争对手id")
    private Long competorId;

    /** 赛道 */
    @Excel(name = "赛道")
    private Long categoryId;

    /** 链接负责人 */
    @Excel(name = "链接负责人")
    private Long userId;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal price;

    /** 链接状态 */
    @Excel(name = "链接状态")
    private String goodsSatus;

    /** 假删除判定值0：删除1：未删除 */
    private Long delFlag;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setItemType(String itemType) 
    {
        this.itemType = itemType;
    }

    public String getItemType() 
    {
        return itemType;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCompetorId(Long competorId) 
    {
        this.competorId = competorId;
    }

    public Long getCompetorId() 
    {
        return competorId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setGoodsSatus(String goodsSatus) 
    {
        this.goodsSatus = goodsSatus;
    }

    public String getGoodsSatus() 
    {
        return goodsSatus;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("shopId", getShopId())
            .append("itemType", getItemType())
            .append("picture", getPicture())
            .append("title", getTitle())
            .append("competorId", getCompetorId())
            .append("categoryId", getCategoryId())
            .append("userId", getUserId())
            .append("price", getPrice())
            .append("goodsSatus", getGoodsSatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
